<?php 
/*
# ------------------------------------------------------------------------
# JD Base Theme
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
?>
<?php print $block['header'] ?>
<?php if ($logo):  ?>
<h1 class="logo">
	<a href="<?php print url('<front>') ?>" style="background-image:url(<?php print $logo ?>)" title="<?php print $site_name; ?>"><span><?php print $site_name; ?></span></a>
</h1>
<?php else: ?>
<div class="logo-text">
	<h1><a href="index.php" title="<?php print $site_name; ?>"><span><?php print $site_name; ?></span></a></h1>
	<p class="site-slogan"><?php print $site_slogan; ?></p>
</div>
<?php endif; ?>

<?php if($search_box) : ?>
<div id="ja-search">
	<?php print $search_box; ?>
</div>
<?php endif; ?>
<?php print $block['footer'] ?>